BotSwarm - a typescript library for scheduling onchain transactions

BotSwarm - A typescript library for scheduling onchain transactions
by 0xwiz.eth14 🥝 • 3y • github.com
AI summary of the linked article

BotSwarm is a typesafe TypeScript library for scheduling onchain transactions, with tools for building Farcaster bots that react to smart contract events. Its Ethereum adapter, built on Viem, lets users watch contract events, read and write contracts, and schedule contract calls to execute after a given block number. Failed tasks are retried a few blocks later once, then removed from the queue if they fail again, and tasks are cached to .botswarm/cache.json. The Farcaster adapter wraps farcaster-js to support casting, reacting, and profile updates.

Recommended by 2 curators
Characters remaining: 10,000

comment guidelines